package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IPayResultModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.SearchShopListRequest;
import com.wgts.wgts.netmodle.resp.CurrentEntity;
import com.wgts.wgts.netmodle.resp.SearchShopResultEntity;

/*
 *
 *
 *   data:2018/10/2213:48
 *
 */public class PayResultModel implements IPayResultModel {
     private NetService netService;

    public PayResultModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void initList(SearchShopListRequest request, HttpResultSubscriber<SearchShopResultEntity> subscriber) {
        netService.payResultList(request, subscriber);
    }

    @Override
    public void affitmAlipay(String orderCode, String payType, HttpResultSubscriber<CurrentEntity> subscriber) {
        netService.affirmAlipay(orderCode, payType, subscriber);
    }
}
